copyright.el updates.
authorGlenn Morris <rgm@gnu.org>
Tue, 25 Jan 2011 08:36:34 +0000 (00:36 -0800)
committerGlenn Morris <rgm@gnu.org>
Tue, 25 Jan 2011 08:36:34 +0000 (00:36 -0800)
commit66bd0f69982159deb4eefc959900586f73816855
tree6f298b58c35b183e527976493c4a0415cfdb7a81
parent5b69dadb80a8770bd499928a72f93f0cd0faefca
copyright.el updates.

* lisp/emacs-lisp/copyright.el (copyright-at-end-flag)
(copyright-names-regexp): Add safety properties.
(copyright-year-ranges): New option.
(copyright-find-end): New function, split from copyright-update-year.
(copyright-update-year): Use copyright-find-end.
(copyright-fix-years): Optionally, convert years to ranges.
Handle years continued over comment lines.
Do not mess with the fill-prefix.
Do not call copyright-update.
(copyright-update-directory): Optionally, fix years rather than update.
Skip directories.  Find files literally, with only safe local vars.

* etc/NEWS: Mention copyright-fix-years and ranges.
etc/NEWS
lisp/ChangeLog
lisp/emacs-lisp/copyright.el